# -*- coding: utf-8 -*-
"""
Created on Sat Mar 17 10:29:38 2018

@author:Devin

"""
import pandas as pd
test = pd.read_csv('D:\\P_accumulator\\test_data\\nwx_GZ_160809_160814.csv')
tests = test.loc[test.vin=='LSJA24U60GS056652']
tests.starttime = pd.to_datetime(tests.starttime)
tests.index = tests.starttime
tests = tests.sort_index()
tests1 = tests.to_period('D')
testd = tests1.groupby(tests1.index)
g_df = tests1.loc[tests1.index=='2016-08-09']